$input-width:300px;

.uploadImg{
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  min-width: 700px;
  .input-container{
    position: relative;
    width: 300px;
    height: 100%;
    background-color: #E6E8EB;
    display: flex;
    justify-content: center;
    align-items: center;
    .img-box{
      color: #606266;
      text-align: center;
      img{
        width: 200px;
      }
    }
    input[type="file"]{
      position: absolute;
      cursor: pointer;
      z-index: 1;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
    }
  }
  .preview{
    height: 100%;
    width: calc(100% - $input-width);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    .remain-info{
      position: absolute;
      left: 10px;
      top: 10px;
    }
    .category-option{
      position: absolute;
      right: 10px;
      top: 10px;
    }
    img{
      max-height: 90%;
      max-width: 90%;
    }
  }
}